home *** CD-ROM | disk | FTP | other *** search
/ PC World Komputer 2010 April / PCWorld0410.iso / hity wydania / Ubuntu 9.10 PL / karmelkowy-koliberek-desktop-9.10-i386-PL.iso / casper / filesystem.squashfs / var / lib / dpkg / info / dmsetup.preinst < prev    next >
Text File  |  2009-09-27  |  941b  |  25 lines

  1. #!/bin/sh
  2. set -e
  3. # Automatically added by dh_installudev
  4. if [ "$1" = install ] || [ "$1" = upgrade ]; then
  5.     if [ -e "/etc/udev/rules.d/65_dmsetup.rules" ]; then
  6.         if [ "`md5sum \"/etc/udev/rules.d/65_dmsetup.rules\" | sed -e \"s/ .*//\"`" = \
  7.              "`dpkg-query -W -f='${Conffiles}' dmsetup | sed -n -e \"\\\\' /etc/udev/rules.d/65_dmsetup.rules '{s/ obsolete$//;s/.* //p}\"`" ]
  8.         then
  9.             rm -f "/etc/udev/rules.d/65_dmsetup.rules"
  10.         fi
  11.     fi
  12. fi
  13. # End automatically added section
  14. # Automatically added by dh_installudev
  15. if [ "$1" = install ] || [ "$1" = upgrade ]; then
  16.     if [ -e "/etc/udev/rules.d/65-dmsetup.rules" ]; then
  17.         if [ "`md5sum \"/etc/udev/rules.d/65-dmsetup.rules\" | sed -e \"s/ .*//\"`" = \
  18.              "`dpkg-query -W -f='${Conffiles}' dmsetup | sed -n -e \"\\\\' /etc/udev/rules.d/65-dmsetup.rules '{s/ obsolete$//;s/.* //p}\"`" ]
  19.         then
  20.             rm -f "/etc/udev/rules.d/65-dmsetup.rules"
  21.         fi
  22.     fi
  23. fi
  24. # End automatically added section
  25.